Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(repo): correct READMEs, minimatch to picomatch #1260

Merged
merged 14 commits into from
Sep 12, 2022

Conversation

sapphi-red
Copy link
Contributor

Rollup Plugin Name: babel, buble, commonjs, dsv, dynamic-import-vars, graphql, image, inject, replace, strip, sucrase, typescript, url, yaml

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

If yes, then include "BREAKING CHANGES:" in the first commit message body, followed by a description of what is breaking.

List any relevant issue numbers:

Description

createFilter func from @rollup/pluginutils <=v3.0.10 uses picomatch and >v3.0.10 uses minimatch (#306).

picomatch supports slightly different features from minimatch. https://github.com/rollup/plugins/tree/master/packages/pluginutils#include-and-exclude

So I updated documents/dts from "minimatch pattern" to "picomatch pattern".

This is the list that shows which plugin uses which version of @rollup/pluginutils:

  • @rollup/plugin-babel: ^3.1.0
  • @rollup/plugin-buble: ^3.1.0
  • @rollup/plugin-commonjs: ^3.1.0
  • @rollup/plugin-dsv: ^3.1.0
  • @rollup/plugin-dynamic-import-vars: ^4.1.2
  • @rollup/plugin-graphql: ^4.0.0
  • @rollup/plugin-image: ^3.1.0
  • @rollup/plugin-inject: ^3.1.0
  • @rollup/plugin-replace: ^3.1.0
  • @rollup/plugin-strip: ^3.1.0
  • @rollup/plugin-sucrase: ^4.1.1
  • @rollup/plugin-typescript: ^3.1.0
  • @rollup/plugin-url: ^4.2.1
  • @rollup/plugin-yaml: ^3.1.0

I didn't change:

  • @rollup/plugin-json: because it uses @rollup/pluginutils ^3.0.8, so either minimatch or picomatch might be used
  • @rollup/plugin-multi-entry: because it uses matched

@shellscape shellscape changed the title fix: correct minimatch to picomatch chore(repo): correct READMEs, minimatch to picomatch Sep 12, 2022
@shellscape
Copy link
Collaborator

Verified the failing test is passing locally, so merging this as-is.

@shellscape shellscape merged commit 2483b40 into rollup:master Sep 12, 2022
@sapphi-red sapphi-red deleted the fix-minimatch-picomatch branch September 12, 2022 14:49
Jesuis33 pushed a commit to Jesuis33/ReinhardOosthuizen that referenced this pull request Sep 19, 2022
* fix(babel): correct minimatch to picomatch

* fix(buble): correct minimatch to picomatch

* fix(commonjs): correct minimatch to picomatch

* fix(dsv): correct minimatch to picomatch

* fix(dynamic-import): correct minimatch to picomatch

* docs(graphql): correct minimatch to picomatch

* fix(image): correct minimatch to picomatch

* fix(inject): correct minimatch to picomatch

* fix(replace): correct minimatch to picomatch

* fix(strip): correct minimatch to picomatch

* fix(sucrase): correct minimatch to picomatch

* docs(typescript): correct minimatch to picomatch

* fix(url): correct minimatch to picomatch

* fix(yaml): correct minimatch to picomatch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants